package com.lanou.service.impl;

import com.lanou.mapper.CrmClassMapper;
import com.lanou.service.CrmClassService;
import com.lanou.utils.AjaxResult;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


/**
 * Created by dllo on 18/4/17.
 */
@Service
public class CrmClassServiceImpl implements CrmClassService {

    @Resource
    private CrmClassMapper crmClassMapper;


    /**
     * 班级信息
     *
     * @return
     */
    @Override
    public AjaxResult selectAllClass(@Param("courseTypeId") String courseTypeId) {
        return AjaxResult.getOK(crmClassMapper.selectAllClass(courseTypeId));
    }
}
